package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjWorkSuspend;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 工单挂起表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2024-03-18
 */
@Repository
public interface ZjWorkSuspendMapper extends BaseMapper<ZjWorkSuspend> {

    /**
     * 查询是否有待审核的挂起工单
     * @param workId 工单ID
     */
    Integer isWaitCheckSuspendOrder(@Param("workId") Long workId);


}
